<template>
  <Person :list="personList" />
</template>

<script lang="ts" setup name="App">
import Person from './components/Person.vue';
import { reactive } from "vue";
import { type PersonInter } from "@/types";


let personList = reactive<PersonInter[]>([
  { id: 1, name: '张三', age: 18 },
  { id: 2, name: '李四', age: 20 },
  { id: 3, name: '王五', age: 22 },
]);
</script>
